package com.bckj.fastboot.upms.api.service;

import com.bckj.fastboot.core.lang.model.PageResult;
import com.bckj.fastboot.upms.api.constant.UpmsConstant;
import com.bckj.fastboot.upms.api.dto.SysLogQuery;
import com.bckj.fastboot.upms.api.vo.SysLogVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = UpmsConstant.SERVICE_ID, contextId = "sysLog", path = "sysLog")
public interface SysLogRemoteService {

    /**
     * 分页
     */
    @GetMapping("page")
    PageResult<SysLogVO> page(@SpringQueryMap SysLogQuery query);

}
